.music-player {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-color: rgba(196, 219, 255, 0.67);
  background: url('/assets/starloop.gif') no-repeat center;
  background-size: cover;
  border-radius: 6px;
  padding: 6px;
  max-width: 320px;
  font-family: sans-serif;
}
 
.current-track {
  background-color: #f0f8ff;
  border: 1px solid #cce6ff;
  padding: 8px;
  text-align: center;
  font-size: 0.9em;
  color: #001752;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  height: 30px;
  line-height: 30px;
}
 
.track-marquee {
  position: absolute;
  white-space: nowrap;
  left: 0;
  animation: marquee 15s linear infinite;
  padding-left: 100%;
  top: 0;
  height: 100%;
  line-height: 30px;
}
 
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
 
.player-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
  padding: 10px 0;
}
 
.control-buttons {
  display: flex;
  gap: 5px;
}
 
.player-controls button {
  background: linear-gradient(to bottom, #e6f3ff, #cce6ff);
  border: 1px solid #99ccff;
  border-radius: 3px;
  cursor: pointer;
  font-size: 1.1em;
  width: 28px;
  height: 28px;
  color: #001752;
  display: flex;
  align-items: center;
  justify-content: center;
}
 
.player-controls button:hover {
  background: linear-gradient(to bottom, #cce6ff, #99ccff);
}
 
.progress-container {
  flex: 1;
  height: 10px;
  background: #f0f8ff;
  border: 1px solid #cce6ff;
  border-radius: 7px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
 
.player-progress-bar {
  height: 100%;
  background: linear-gradient(to right, #99ccff, #4a7dff);
  width: 0%;
  transition: width 0.1s ease;
  border-radius: 7px;
}
 
.time-display {
  font-size: 1.1em;
  color: #002f78;
  min-width: 45px;
  text-align: center;
}
 
.playlist-dropdown {
  position: relative;
}
 
.playlist-toggle {
  background: linear-gradient(to bottom, #e6f3ff, #cce6ff);
  border: 1px solid #99ccff;
  border-radius: 3px;
  padding: 5px 8px;
  cursor: pointer;
  font-size: 0.9em;
  color: #001752;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
 
.playlist-toggle:hover {
  background: linear-gradient(to bottom, #cce6ff, #99ccff);
}
 
.playlist-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #f8fbff;
  border: 1px solid #cce6ff;
  border-radius: 3px;
  max-height: 120px;
  overflow-y: auto;
  z-index: 10;
  display: none;
}
 
.playlist-menu.show {
  display: block;
}
 
.playlist-item {
  padding: 6px 8px;
  cursor: pointer;
  font-size: 0.85em;
  border-bottom: 1px solid #e6f3ff;
}
 
.playlist-item:last-child {
  border-bottom: none;
}
 
.playlist-item:hover {
  background-color: #e6f3ff;
}
 
.playlist-item.active {
  background-color: #cce6ff;
  color: #001752;
  font-weight: bold;
}
